html {
  text-rendering: optimizeLegibility;
}

html,
body {
  height: 100%;
  font-size: 12px;
  font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;
  color: #333;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0;
}
body * {
  font-size: inherit;
  font-weight: initial;
}

html,
body,
div,
section,
nav,
header,
footer,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
li,
dl,
dt,
dd,
p,
span,
form,
input,
button,
select,
textarea,
img {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
}
ol,
ul,
li {
  list-style-type: none;
}
dl,
dt,
dd,
ol,
ul,
li,
p,
header,
main,
section,
nav,
footer {
  display: block;
}
img {
  max-width: 100%;
  max-height: 100%;
  border: none;
}
i,
em,
cite {
  font-style: normal;
}
a {
  color: inherit;
  text-decoration: none;
  &:hover {
    color: inherit;
    text-decoration: none;
  }
  &:active, &:visited {
    color: inherit;
  }
}
a
input,
button,
textarea,
select {
  outline: none;
}
input[type="text"],
button,
textarea,
select {
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
::-webkit-input-placeholder {
  color: #c8c8c8;
}

input:focus, textarea:focus {
  transition: border-color 0.3s;
  -webkit-transition: border-color 0.3s;
}
input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
  color: #999;
}
input:focus:-moz-placeholder, textarea:focus::-moz-placeholder {
  color: #999;
}
input:focus::-moz-placeholder, textarea:focus::-moz-placeholder {
  color: #999;
}
button {
  border: none;
  background: none;
}
input,
textarea,
select,
label {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
iframe {
  border: none;
  background: none;
}
@font-face {
  font-family: 'DINMittelschriftStd';
  src: url(//resource.youyizhuan.cn/Resource/app/fonts/DINMittelschriftStd.3dcda01.otf);
}
